package service;

import common.Result;
import dataBean.CourseInfoDo;

import java.util.List;

/**
 * Created by lxl on 2015/10/30.
 */
public interface CourseService {

    /***
     * admin can add a course to set its name and the teacher
     * @param courseInfoDo
     * @return
     */
    public Result addCourse(CourseInfoDo courseInfoDo) ;

    /***
     * admin can add student list to a course
     * @param courseInfoDo
     * @param students
     * @return
     */
    public Result addStudentList( CourseInfoDo courseInfoDo , List<Integer> students ) ;
}
